package com.javasm.crm.domin.entity.aftersale;

import com.baomidou.mybatisplus.annotation.TableName;
import com.javasm.crm.domin.entity.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author lirui
 * @since 2021-07-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@TableName("aftersale_inorder")
public class Inorder extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 售后入库订单编号
     */
    private String inorderCode;

    /**
     * 订单对应的申请单主键
     */
    private Integer applyId;

    /**
     * 订单对应的申请单编号
     */
    private String applyCode;

    /**
     * 入库订单对应的出库订单id
     */
    private Integer outApplyId;

    /**
     * 入库订单对应的出库订单编号
     */
    private String outApplyCode;

    /**
     * 制单人
     */
    private String createBy;

    /**
     * 入库订单状态（待入库，已入库）
     */
    private Integer status;

    /**
     * 类型标识：
     * 1.返厂维修入库订单
     */
    private Integer type;


}
